<template>
  <!-- 1.class="bbb",非props的属性会自动传递到根节点 -->
  <Head :title="title" class="bbb"></Head>
</template>

<script>
import Head from './head.vue'
export default {
  name: 'HelloWorld',
  components: { Head },
  data() {
    return {
      title: '你好啊',
    }
  },
}
</script>
<style scoped></style>
